package com.bootdo.system.dao;

import com.bootdo.system.domain.UserInnerDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 项目成员
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-06-25 22:39:17
 */
@Mapper
public interface UserInnerDao {

	UserInnerDO get(Integer id);
	
	List<UserInnerDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserInnerDO userInner);
	
	int update(UserInnerDO userInner);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    UserInnerDO getUserInnerByUserIdAndProjectId(@Param("userId") Long userId, @Param("projectId") Integer projectId);
}
